package cn.zebra.dev.other.module.ordersBarter.service;

import cn.zebra.dev.ibatis.plus.service.IService;
import cn.zebra.dev.ibatis.plus.utils.PageUtils;
import cn.zebra.dev.other.module.ordersBarter.entity.OrdersBarterEntity;

import java.util.Map;

/**
 * 
 *
 * @author runnable
 */
public interface OrdersBarterService extends IService<OrdersBarterEntity> {

    PageUtils<OrdersBarterEntity> findPage(Map<String, Object> params);

    /**
     * 根据用户id 查询换货集合
     * @param map
     * @return
     */
    PageUtils<OrdersBarterEntity> findPageByUserId(Map<String, Object> map);
    /**
     * 根据店铺id 查询换货集合
     * @param map
     * @return
     */
    PageUtils<OrdersBarterEntity> findPageByShopId(Map<String, Object> map);
}

